{"version":3,"file":"script.map.js","names":["this","BX","Landing","exports","main_core","main_popup","_classPrivateMethodInitSpec","obj","privateSet","_checkPrivateRedeclaration","add","_classPrivateFieldInitSpec","privateMap","value","set","privateCollection","has","TypeError","_classPrivateMethodGet","receiver","fn","_iframe","WeakMap","_postInternalCommand","WeakSet","Action","options","babelHelpers","classCallCheck","writable","classPrivateFieldSet","iframe","Type","isDomNode","classPrivateFieldGet","Error","createClass","key","onDesignerBlockClick","blockId","_postInternalCommand2","call","onStyleBlockClick","onEditBlockClick","onSortDownBlockClick","onSortUpBlockClick","onRemoveBlockClick","onChangeStateBlockClick","onCutBlockClick","onCopyBlockClick","onPasteBlockClick","onFeedbackClick","onSaveInLibraryClick","onHideEditorPanel","action","payload","contentWindow","postMessage","window","location","origin","Loc","loadMessages","messages","getMessage","code","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","_templateObject8","_templateObject9","UI","setPendingMenuItemValue","itemCode","itemProp","pendingMenuItems","getPendingMenuItemValue","getDesignerBlockButton","onClick","title","button","Tag","render","taggedTemplateLiteral","Event","bind","getStyleBlockButton","label","getEditBlockButton","getLeftContainer","designerBlockClick","styleBlockClick","editBlockClick","getSortDownBlockButton","getSortUpBlockButton","getBlockAdditionalMenu","MenuManager","getMenuById","closeBlockAdditionalMenu","menu","close","changeStateMenuItem","state","Utils","setTextContent","getMenuItem","getLayout","changePasteMenuItem","enablePaste","item","enable","disable","getActionsList","actions","actionButton","event","onOpenAdditionalMenu","stopPropagation","show","create","id","bindElement","className","angle","position","offset","offsetTop","offsetLeft","items","MenuItem","disabled","changeStateClick","text","onclick","cutClick","copyClick","pasteClick","feedbackClick","saveInLibrary","delimiter","getRemoveBlockButton","getRightContainer","sortDownBlockClick","sortUpBlockClick","removeBlockClick","defineProperty","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","getOwnPropertyDescriptors","defineProperties","_classPrivateMethodInitSpec$1","_checkPrivateRedeclaration$1","_classPrivateFieldInitSpec$1","_classPrivateMethodGet$1","_action","_externalBlocks","_container","_iframeWrapper","_currentOpenBlockId","_currentOpenMenuBlock","_listenChildFrame","_onStorageChange","_registerBlocks","_getBlock","_updateBlock","_changeState","_hideAllControls","_showControls","_hideAndShowControls","_onChangeMode","ExternalControls","_this","container","iframeWrapper","Map","querySelector","addEventListener","_listenChildFrame2","_onStorageChange2","data","_registerBlocks2","blocks","_showControls2","top","height","_changeState2","_onChangeMode2","_hideAllControls2","_hideAndShowControls2","values","allowPaste","localStorage","getItem","c","size","blockItem","next","_updateBlock2","permissions","_this2","map","block","leftContainer","allowDesignBlock","allowModifyStyles","allowEditContent","rightContainer","allowSorting","allowRemove","setTimeout","allowChangeState","allowSaveInLibrary","Dom","append","hide","_getBlock2","get","parseInt","_blockItem","iframeRect","getBoundingClientRect","addClass","removeClass","style","width","left","_this3","type","Devices","defaultDevice","tablet","mobile","devices","delimiter1","langCode","iphone14pro","name","iPhoneXR","iPhoneSE","SamsungGalaxyNote10","SamsungGalaxyS8","GooglePixel4","delimiter2","iPad","iPadMini","SamsungGalaxyTabS8","_templateObject$1","_templateObject2$1","_templateObject3$1","_templateObject4$1","_templateObject5$1","DeviceUI","getPreview","setItem","switcherClick","hasClass","layout","switcher","toggleClass","wrapper","rotateClick","setProperty","concat","offsetHeight","offsetWidth","frame","innerHTML","hidden","clickHandler","rotate","frameUrl","frameWrapper","appendChild","openDeviceMenu","menuId","menuItems","device","html","parentNode","minWidth","animation","_classPrivateMethodInitSpec$2","_checkPrivateRedeclaration$2","_classPrivateFieldInitSpec$2","_classPrivateMethodGet$2","_frameUrl","_editorFrameWrapper","_previewElement","_previewWindow","_currentDevice","_editorEnabled","_pendingReload","_commandsToRefresh","_registerListeners","_backendAction","_reloadPreviewWindow","_scrollDevice","_resolveDeviceByType","_setDevice","_adjustPreviewScroll","_buildPreview","_onClickDeviceSelector","_showPreview","_hidePreview","Device","_options","editorFrameWrapper","_registerListeners2","_buildPreview2","_showPreview2","_setDevice2","_resolveDeviceByType2","addCustomEvent","deviceType","_reloadPreviewWindow2","_backendAction2","includes","_payload$data","_payload$data3","_payload$data3$update","_payload$data3$update2","_payload$data2","updateNodes","_payload$data4","_payload$data4$update","_payload$data4$update2","blockIdPrefix","timestamp","Date","now","href","_scrollDevice2","topInPercent","_document","document","scrollHeight","Math","max","body","documentElement","clientHeight","scroll","_Devices$defaultDevic","deviceCode","newDevice","removeProperty","scale","innerHeight","padding","getComputedStyle","param1","param2","_adjustPreviewScroll2","documentEditorFrame","scrollTop","_onClickDeviceSelector2","previewDocument","View","Main"],"sources":["script.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,EACtBD,KAAKC,GAAGC,QAAUF,KAAKC,GAAGC,SAAW,CAAC,GACrC,SAAUC,EAAQC,EAAUC,GAC5B,aAEA,SAASC,EAA4BC,EAAKC,GAAcC,EAA2BF,EAAKC,GAAaA,EAAWE,IAAIH,EAAM,CAE1H,SAASI,EAA2BJ,EAAKK,EAAYC,GAASJ,EAA2BF,EAAKK,GAAaA,EAAWE,IAAIP,EAAKM,EAAQ,CAEvI,SAASJ,EAA2BF,EAAKQ,GAAqB,GAAIA,EAAkBC,IAAIT,GAAM,CAAE,MAAM,IAAIU,UAAU,iEAAmE,CAAE,CAEzL,SAASC,EAAuBC,EAAUX,EAAYY,GAAM,IAAKZ,EAAWQ,IAAIG,GAAW,CAAE,MAAM,IAAIF,UAAU,iDAAmD,CAAE,OAAOG,CAAI,CAEjL,IAAIC,EAAuB,IAAIC,QAE/B,IAAIC,EAAoC,IAAIC,QAE5C,IAAIC,EAAsB,WACxB,SAASA,EAAOC,GACdC,aAAaC,eAAe5B,KAAMyB,GAElCnB,EAA4BN,KAAMuB,GAElCZ,EAA2BX,KAAMqB,EAAS,CACxCQ,SAAU,KACVhB,WAAY,IAGdc,aAAaG,qBAAqB9B,KAAMqB,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